linux: No need to kmem_cache_shrink(pgd_cache) on save/restore.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 1 Mar 2007 15:56:45 +0000 (15:56 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 1 Mar 2007 15:56:45 +0000 (15:56 +0000)
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/i386/mm/pgtable-xen.c

index 18f27c7cdef72d8f02444521d4e683e82a9c6c72..2cac785e50b9208ee45dd801f492906580157fe7 100644 (file)
@@ -671,9 +671,6 @@ void mm_pin_all(void)
 {
        struct page *page;
 
-       /* Only pgds on the pgd_list please: none hidden in the slab cache. */
-       kmem_cache_shrink(pgd_cache);
-
        if (xen_feature(XENFEAT_writable_page_tables))
                return;